
-- --------------------------------------------------
-- Entity Designer DDL Script for SQL Server 2005, 2008, and Azure
-- --------------------------------------------------
-- Date Created: 09/15/2013 13:47:46
-- Generated from EDMX file: C:\Users\Grigorii\Documents\Visual Studio 2012\Projects\ittilan-testapplication\TextFilesAppDB\WordsDB.edmx
-- --------------------------------------------------

SET QUOTED_IDENTIFIER OFF;
GO
USE [TextAppDB];
GO
IF SCHEMA_ID(N'dbo') IS NULL EXECUTE(N'CREATE SCHEMA [dbo]');
GO

-- --------------------------------------------------
-- Dropping existing FOREIGN KEY constraints
-- --------------------------------------------------


-- --------------------------------------------------
-- Dropping existing tables
-- --------------------------------------------------


-- --------------------------------------------------
-- Creating all tables
-- --------------------------------------------------

-- Creating table 'WordSet'
CREATE TABLE [dbo].[WordSet] (
    [Word_ID] uniqueidentifier  NOT NULL,
    [Frequency] int  NOT NULL
);
GO

-- --------------------------------------------------
-- Creating all PRIMARY KEY constraints
-- --------------------------------------------------

-- Creating primary key on [Word_ID] in table 'WordSet'
ALTER TABLE [dbo].[WordSet]
ADD CONSTRAINT [PK_WordSet]
    PRIMARY KEY CLUSTERED ([Word_ID] ASC);
GO

-- --------------------------------------------------
-- Creating all FOREIGN KEY constraints
-- --------------------------------------------------

-- --------------------------------------------------
-- Script has ended
-- --------------------------------------------------